﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Task1
{
    class Program
    {
        static void Main(string[] args)
        {
        }

        static Person getRandomPerson()
        {
            Person person = new Person();
            String[] firstNames = { "Женя", "Петя", "Вася", "Коля", "Витя" };
            String[] lastNames = { "Иванов", "Погорелов", "Тудай", "Двоскин", "Пупкин" };
            DateTime[] days = { DateTime.Now.AddDays(1), DateTime.Now.AddDays(2), DateTime.Now.AddDays(3), DateTime.Now.AddDays(-11), DateTime.Now.AddDays(-2) };
            Random rnd = new Random();
            person.FirstName = firstNames[rnd.Next(0, firstNames.Length - 1)];
            person.LastName = lastNames[rnd.Next(0, lastNames.Length - 1)];
            person.DoB = days[rnd.Next(0, days.Length - 1)];
            return person;
        }
    }
}
